package com.buyinglist.app.view;

import com.buyinglist.app.domain.Country;
import com.buyinglist.app.domain.Region;

public class RegionView {
	
	private Integer Id;
	private String name;
	private Country country;
	
	
	
	public RegionView(Region r) {
		this.Id = r.getId();
		this.name = r.getName();
		this.country = r.getCounty();
	}
	public Integer getId() {
		return Id;
	}
	public void setId(Integer id) {
		Id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Country getCountry() {
		return country;
	}
	public void setCountry(Country country) {
		this.country = country;
	} 

}
